import { get, post, gDownload } from '@/utils/request'
const BASE_URL = window.baseUrl.mlk
// 未解析日志IP列表
export function getLogsList() {
  return post(BASE_URL + '/scheduling/unknownIpList')
}
// 未解析日志列表
export function getTableList(query) {
  return post(BASE_URL + '/scheduling/ruleLogUnknownEsList', query)
}
//  批量删除未解析日志
export function deleteLogUnknown(query) {
  return post(BASE_URL + '/scheduling/deleteLogUnknown', query)
}
// 导出
export function logUnknownDownLoad(query) {
  return gDownload(BASE_URL + '/scheduling/logUnknownDownLoad', query.params, query.filename)
}
